using System;

namespace GymManager.Presentation
{
	/// <summary>
	/// This is a interface that must be used always that a parent form
	/// must process a result from another form.
	/// </summary>    
    /// <remarks>
    /// For instance, the AddressDataForm has information about addresses beloging to a 
    /// single contact. The contact form must implement this interface in order to be notified
    /// by the AddressForm
    /// </remarks>
    public interface IFillParent
    {
        /// <summary>
        /// Callback method used by forms to allow filling parent data
        /// </summary>
        /// <param name="Object">object representing data to fill a parent form</param>
        void fillParent(Object data);

    }
}


